#ifndef _INPUT_H_
#define _INPUT_H_

#include "GameComponentTemplate.h"
#include "Ogre.h"

using namespace Ogre;

class GameComponent;

class CInputTemplate : public GameComponentTemplate {
public:

	//static Ogre::Vector3 Position;
	
	CInputTemplate();
	~CInputTemplate();

	virtual const comp_id_type& componentID() const {
		return mComponentID;
	}
	virtual const comp_id_type& familyID() const {
		return mFamilyID;
	}

	virtual GameComponent *makeComponent();

private:
	static comp_id_type mComponentID;
	static comp_id_type mFamilyID;
};

class CInput : public GameComponent {
public:
	
	//static Ogre::Vector3 Position;

	CInput();
	CInput(CInputTemplate* ct);
	
	~CInput();

	void update();
	void setup();

	virtual const comp_id_type& familyID() const { return mFamilyID; }
	virtual const comp_id_type& componentID() const { return mComponentID; }
private:
	static comp_id_type mFamilyID;
	static comp_id_type mComponentID;
};

#endif
